<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>

<body>
    <script src="3.js"></script>
    <script>
        console.log(sessionStorage.getItem("aaa"))
    </script>
</body>

</html>